package com.ruibang.glass.equipment.mapper.device;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruibang.glass.equipment.domain.req.WareHouseManagementReq;
import com.ruibang.glass.equipment.domain.req.device.DeviceAllPageReq;
import com.ruibang.glass.equipment.dto.SelectDTO;
import com.ruibang.glass.equipment.entity.device.WareHouseManagement;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface WareHouseManagementMapper extends CommonMapper<WareHouseManagement> {

    IPage<WareHouseManagement> queryPage(Page<WareHouseManagement> page, @Param("warehouse") WareHouseManagementReq managementReq);

    List<SelectDTO> getWareList();

    Integer getMaxNumber();
}
